<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/designM/singleton.hpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_7815f4a69fa470e020068bb120d080ef.html">designM</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle"><div class="title">singleton.hpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;memory&gt;</code><br />
<code>#include &lt;type_traits&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
singleton.hpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d3/dcd/singleton_8hpp__incl.png" border="0" usemap="#ainclude_2design_m_2singleton_8hpp" alt=""/></div>
<map name="ainclude_2design_m_2singleton_8hpp" id="ainclude_2design_m_2singleton_8hpp">
<area shape="rect" title=" " alt="" coords="5,5,202,32"/>
<area shape="rect" title=" " alt="" coords="20,80,88,107"/>
<area shape="poly" title=" " alt="" coords="97,34,73,69,69,66,93,31"/>
<area shape="rect" title=" " alt="" coords="113,80,195,107"/>
<area shape="poly" title=" " alt="" coords="115,31,139,66,135,69,110,34"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件被哪些文件直接或间接地引用了:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/d37/singleton_8hpp__dep__incl.png" border="0" usemap="#ainclude_2design_m_2singleton_8hppdep" alt=""/></div>
<map name="ainclude_2design_m_2singleton_8hppdep" id="ainclude_2design_m_2singleton_8hppdep">
<area shape="rect" title=" " alt="" coords="1184,5,1381,32"/>
<area shape="rect" href="../../da/dfe/backtrace_8hpp.html" title=" " alt="" coords="327,88,475,115"/>
<area shape="poly" title=" " alt="" coords="1169,26,864,44,679,60,495,83,454,90,453,85,494,77,679,55,863,39,1169,21"/>
<area shape="rect" href="../../dd/da6/buffer_block_8hpp.html" title=" " alt="" coords="507,88,663,115"/>
<area shape="poly" title=" " alt="" coords="1169,30,942,50,679,83,640,90,639,85,678,77,941,44,1168,25"/>
<area shape="rect" href="../../da/d26/dispatcher_8hpp.html" title=" " alt="" coords="691,80,876,123"/>
<area shape="poly" title=" " alt="" coords="1189,38,878,88,877,82,1189,32"/>
<area shape="rect" href="../../d5/de3/ssl_svr_epoll_egn_8hpp.html" title=" " alt="" coords="945,80,1119,123"/>
<area shape="poly" title=" " alt="" coords="1230,40,1097,82,1096,77,1228,34"/>
<area shape="rect" href="../../d6/d3b/ssl_svr_epoll_egn_8cpp.html" title=" " alt="" coords="1003,179,1202,205"/>
<area shape="poly" title=" " alt="" coords="1260,45,1118,180,1114,176,1257,41"/>
<area shape="rect" href="../../d2/d37/epoll_8hpp.html" title=" " alt="" coords="1239,80,1400,123"/>
<area shape="poly" title=" " alt="" coords="1297,45,1313,79,1308,81,1292,47"/>
<area shape="rect" href="../../df/d05/timer_8hpp.html" title=" " alt="" coords="2006,88,2127,115"/>
<area shape="poly" title=" " alt="" coords="1396,29,2006,91,2006,96,1396,34"/>
<area shape="rect" href="../../dc/d4b/uvlper_8hpp.html" title=" " alt="" coords="2502,88,2628,115"/>
<area shape="poly" title=" " alt="" coords="1396,24,2502,93,2501,99,1396,30"/>
<area shape="rect" href="../../d1/db2/uvlper_8cpp.html" title=" " alt="" coords="2916,179,3020,205"/>
<area shape="poly" title=" " alt="" coords="1396,18,1704,22,2090,32,2441,50,2567,62,2641,78,2657,87,2668,99,2677,110,2692,120,2748,142,2796,151,2845,156,2906,168,2931,176,2929,181,2905,173,2844,161,2795,156,2747,147,2689,125,2674,114,2664,102,2654,91,2639,82,2566,67,2440,55,2090,37,1703,28,1396,24"/>
<area shape="rect" href="../../d7/d84/websocket_8hpp.html" title=" " alt="" coords="2703,88,2857,115"/>
<area shape="poly" title=" " alt="" coords="1396,20,2055,39,2419,56,2569,66,2684,77,2727,85,2726,90,2683,83,2569,72,2418,62,2055,45,1396,25"/>
<area shape="rect" href="../../d6/d3f/backtrace_8cpp.html" title=" " alt="" coords="333,179,458,205"/>
<area shape="poly" title=" " alt="" coords="402,130,399,178,394,178,397,130"/>
<area shape="rect" href="../../d7/dac/buffer_block_8cpp.html" title=" " alt="" coords="482,179,616,205"/>
<area shape="poly" title=" " alt="" coords="577,130,557,179,552,177,572,128"/>
<area shape="rect" href="../../df/d9a/design_m_2command_8hpp.html" title=" " alt="" coords="552,261,754,288"/>
<area shape="poly" title=" " alt="" coords="725,133,701,151,681,172,669,195,661,219,656,261,651,260,656,218,664,193,676,169,697,147,722,129"/>
<area shape="rect" href="../../d0/dfd/mainloop_8hpp.html" title=" " alt="" coords="691,171,876,213"/>
<area shape="poly" title=" " alt="" coords="786,138,786,170,781,170,781,138"/>
<area shape="rect" href="../../d1/d81/command_8cpp.html" title=" " alt="" coords="670,344,826,371"/>
<area shape="poly" title=" " alt="" coords="681,296,735,342,732,346,678,300"/>
<area shape="rect" href="../../df/d6c/ssl_svr_itfc_8hpp.html" title=" " alt="" coords="456,344,645,371"/>
<area shape="poly" title=" " alt="" coords="627,300,568,346,565,341,623,296"/>
<area shape="rect" href="../../db/d1c/ssl_svr_epoll_8cpp.html" title=" " alt="" coords="776,517,952,544"/>
<area shape="poly" title=" " alt="" coords="770,289,808,307,840,334,855,357,865,381,874,434,873,482,869,517,864,516,868,482,869,434,860,383,850,359,837,338,805,311,767,294"/>
<area shape="rect" href="../../df/d4f/mandarava_2command_8hpp.html" title=" " alt="" coords="29,344,245,371"/>
<area shape="poly" title=" " alt="" coords="553,293,258,339,212,346,212,341,257,333,552,288"/>
<area shape="rect" href="../../d8/d9b/mandarava_2linux_2serial_8hpp.html" title=" " alt="" coords="270,336,431,379"/>
<area shape="poly" title=" " alt="" coords="592,295,429,338,428,333,590,290"/>
<area shape="rect" href="../../d8/d9b/ssl_connection_8hpp.html" title=" " alt="" coords="336,435,552,461"/>
<area shape="poly" title=" " alt="" coords="525,383,461,436,457,432,522,379"/>
<area shape="rect" href="../../d1/d29/ssl_svr_itfc_8cpp.html" title=" " alt="" coords="535,517,702,544"/>
<area shape="poly" title=" " alt="" coords="563,384,616,516,611,518,558,386"/>
<area shape="rect" href="../../de/ddb/ssl_svr_epoll_8hpp.html" title=" " alt="" coords="627,435,826,461"/>
<area shape="poly" title=" " alt="" coords="591,376,703,432,700,436,588,380"/>
<area shape="rect" href="../../d2/d84/sslserver_8hpp.html" title=" " alt="" coords="168,435,312,461"/>
<area shape="poly" title=" " alt="" coords="492,378,285,437,284,432,491,373"/>
<area shape="rect" href="../../dd/da8/ssl_connection_8cpp.html" title=" " alt="" coords="318,517,511,544"/>
<area shape="poly" title=" " alt="" coords="437,477,421,518,416,516,432,475"/>
<area shape="poly" title=" " alt="" coords="486,466,593,514,590,519,484,471"/>
<area shape="poly" title=" " alt="" coords="763,467,844,515,841,519,760,472"/>
<area shape="rect" href="../../dc/d98/mandarava_2linux_2serial_8cpp.html" title=" " alt="" coords="5,427,144,469"/>
<area shape="poly" title=" " alt="" coords="272,386,140,429,138,423,271,381"/>
<area shape="poly" title=" " alt="" coords="739,224,675,263,672,259,736,220"/>
<area shape="poly" title=" " alt="" coords="996,135,969,162,944,195,925,233,917,274,917,359,911,394,896,424,872,450,843,471,809,488,773,502,703,520,701,515,771,497,807,483,840,466,869,446,891,421,906,392,912,358,912,273,920,231,939,192,965,158,992,131"/>
<area shape="poly" title=" " alt="" coords="1011,137,993,172,974,221,968,273,968,359,967,392,962,418,952,442,935,471,911,498,885,519,882,515,908,495,931,468,947,440,957,416,961,391,963,359,963,273,968,220,988,170,1007,135"/>
<area shape="poly" title=" " alt="" coords="1060,133,1095,177,1090,180,1055,136"/>
<area shape="rect" href="../../d2/da5/linux_8hpp.html" title=" " alt="" coords="1227,179,1413,205"/>
<area shape="poly" title=" " alt="" coords="1322,138,1322,178,1317,178,1317,138"/>
<area shape="rect" href="../../da/d8b/epoll_8cpp.html" title=" " alt="" coords="1437,171,1576,213"/>
<area shape="poly" title=" " alt="" coords="1378,127,1464,168,1462,173,1376,132"/>
<area shape="rect" href="../../db/df9/http_file_8hpp.html" title=" " alt="" coords="1600,179,1776,205"/>
<area shape="poly" title=" " alt="" coords="1998,121,1743,181,1741,175,1997,116"/>
<area shape="rect" href="../../d2/dd8/linux_serial_8hpp.html" title=" " alt="" coords="1800,179,1994,205"/>
<area shape="poly" title=" " alt="" coords="2030,125,1923,180,1920,176,2027,120"/>
<area shape="rect" href="../../d5/d16/tcpbase_8hpp.html" title=" " alt="" coords="2336,179,2474,205"/>
<area shape="poly" title=" " alt="" coords="2130,117,2357,176,2356,181,2129,122"/>
<area shape="rect" href="../../d6/d9a/uv__tcp__c_8cpp.html" title=" " alt="" coords="2352,261,2474,288"/>
<area shape="poly" title=" " alt="" coords="2139,117,2206,138,2275,168,2302,189,2327,211,2395,259,2392,263,2324,215,2298,193,2272,173,2204,143,2137,122"/>
<area shape="rect" href="../../dc/de5/timer_8cpp.html" title=" " alt="" coords="2018,179,2115,205"/>
<area shape="poly" title=" " alt="" coords="2069,130,2069,178,2064,178,2064,130"/>
<area shape="rect" href="../../d0/dc9/timer__old_8cpp.html" title=" " alt="" coords="2139,179,2260,205"/>
<area shape="poly" title=" " alt="" coords="2100,121,2182,176,2179,180,2097,126"/>
<area shape="rect" href="../../df/df7/file_client_8hpp.html" title=" " alt="" coords="1457,261,1599,288"/>
<area shape="poly" title=" " alt="" coords="1651,215,1554,263,1551,259,1648,210"/>
<area shape="rect" href="../../d3/de0/http_file_8cpp.html" title=" " alt="" coords="1623,261,1776,288"/>
<area shape="poly" title=" " alt="" coords="1695,221,1701,261,1695,262,1689,221"/>
<area shape="rect" href="../../d9/db7/linux_serial_8cpp.html" title=" " alt="" coords="1812,261,1982,288"/>
<area shape="poly" title=" " alt="" coords="1900,221,1900,261,1894,261,1894,221"/>
<area shape="poly" title=" " alt="" coords="2411,221,2415,261,2409,261,2405,221"/>
<area shape="poly" title=" " alt="" coords="2530,125,2429,180,2427,176,2528,120"/>
<area shape="poly" title=" " alt="" coords="2552,129,2524,171,2488,215,2460,242,2433,263,2430,259,2457,238,2485,212,2520,168,2548,126"/>
<area shape="rect" href="../../dc/da6/resolver_8hpp.html" title=" " alt="" coords="2550,179,2687,205"/>
<area shape="poly" title=" " alt="" coords="2583,127,2613,177,2609,179,2578,130"/>
<area shape="rect" href="../../de/d89/uv__udp__c_8cpp.html" title=" " alt="" coords="2654,261,2778,288"/>
<area shape="poly" title=" " alt="" coords="2630,118,2669,138,2687,152,2702,169,2714,193,2719,218,2720,261,2715,261,2714,219,2709,194,2698,172,2683,156,2666,143,2627,123"/>
<area shape="rect" href="../../df/ddf/tcp_svr_8hpp.html" title=" " alt="" coords="2763,179,2892,205"/>
<area shape="poly" title=" " alt="" coords="2618,118,2791,176,2789,181,2616,123"/>
<area shape="poly" title=" " alt="" coords="2630,116,2647,120,2777,143,2833,152,2906,168,2932,175,2930,181,2905,173,2832,157,2776,148,2646,125,2628,121"/>
<area shape="poly" title=" " alt="" coords="2573,214,2446,263,2444,258,2571,209"/>
<area shape="rect" href="../../d6/d77/resolver_8cpp.html" title=" " alt="" coords="2515,261,2629,288"/>
<area shape="poly" title=" " alt="" coords="2606,220,2581,263,2577,260,2601,217"/>
<area shape="poly" title=" " alt="" coords="2647,213,2703,259,2699,263,2644,217"/>
<area shape="rect" href="../../dc/d4c/tcp_svr_8cpp.html" title=" " alt="" coords="2803,261,2909,288"/>
<area shape="poly" title=" " alt="" coords="2840,219,2854,260,2849,262,2835,221"/>
</map>
</div>
</div>
<p><a href="../../de/d6d/singleton_8hpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d44/classwheels_1_1dm_1_1singleton.html">wheels::dm::singleton&lt; typeName &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></td></tr>
<tr class="memdesc:df/d8d/namespacewheels"><td class="mdescLeft">&#160;</td><td class="mdescRight">堆栈信息读取和保存记录 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">wheels::dm</a></td></tr>
<tr class="memdesc:d8/d2d/namespacewheels_1_1dm"><td class="mdescLeft">&#160;</td><td class="mdescRight">策略方式定义， <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a1109a2b8f185c4c408a6772a1911488f" id="r_a1109a2b8f185c4c408a6772a1911488f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1109a2b8f185c4c408a6772a1911488f">IMP_SINGLETON</a>(type)&#160;&#160;&#160;template&lt;&gt; std::shared_ptr&lt; type &gt; singleton&lt; type &gt; :: pt_obj__ = {}</td></tr>
<tr class="separator:a1109a2b8f185c4c408a6772a1911488f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a1109a2b8f185c4c408a6772a1911488f" name="a1109a2b8f185c4c408a6772a1911488f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1109a2b8f185c4c408a6772a1911488f">&#9670;&#160;</a></span>IMP_SINGLETON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IMP_SINGLETON</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>type</em></span></td><td>)</td>
          <td>&#160;&#160;&#160;template&lt;&gt; std::shared_ptr&lt; type &gt; singleton&lt; type &gt; :: pt_obj__ = {}</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/d6d/singleton_8hpp_source.html">singleton.hpp</a> 第 <a class="el" href="../../de/d6d/singleton_8hpp_source.html#l00067">67</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
